Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import api rather than window.lichess #16632

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

schlawg
Copy link
Collaborator

@schlawg schlawg commented Dec 20, 2024

i moved initializeDom to pubsub so there are less imports of the new api package. this should help us if api needs to depend on other packages (besides common) down the road.

remember - those pubsub strings are typed, so the 'content-loaded' string itself is as good as a function name

@ornicar ornicar merged commit 631eb8e into lichess-org:master Dec 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants